void main(List<String> args) {
  int count = getData(1);
  int count1 = getData<int>(2);
  String str = getData<String>('ss');
  bool b = getData(false);
}

T getData<T>(T value) {
  return value;
}

class getDataSource<T> {
  List<T> originArr = [];

  int totalCount() {
    return this.originArr.length;
  }

  T getData(int index) {
    return this.originArr[index];
  }
}
